package Program.Information;

public class Complaint {
    //投诉单编号
    private int id;
    //用户id
    private int userID;
    //投诉时间
    private String startTime;
    //处理时间
    private String endTime;
    //投诉详情
    private String details;
    //处理状态
    private String state;

    public Complaint() {
    }

    public Complaint(int id, String startTime, String endTime, String details, String state) {
        this.id = id;
        this.startTime = startTime;
        this.endTime = endTime;
        this.details = details;
        this.state = state;
    }

    public Complaint(int id, int userID, String startTime, String endTime, String details, String state) {
        this.id = id;
        this.userID = userID;
        this.startTime = startTime;
        this.endTime = endTime;
        this.details = details;
        this.state = state;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserID() {
        return userID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Complaint{" +
                "id=" + id +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", details='" + details + '\'' +
                ", state='" + state + '\'' +
                '}';
    }
}
